<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <form>
      <div class="row">
        <div class="col-lg-12">
          <section class="panel">
            <header class="panel-heading">
              项目线索信息
            </header>
            <div class="panel-body bio-graph-info">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目类型</label>
                <div class="col-sm-10">
                  <select name="proType" id="proType" ng-model="type" class="form-control" disabled>
                    <option value="">请选择</option>
                    <option value="ZL">战略类项目</option>
                    <option value="YF">研发类项目</option>
                    <option value="XS">销售类项目</option>
                    <option value="BM">部门类项目</option>
                    <option value="SW">事务类项目</option>
                    <option value="CS">内部测试类项目</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属公司*</label>
                <div class="col-sm-10">
                  <select name="company" id="companys" class="form-control" onchange="findDept()" disabled>
                    <option ng-repeat="d in comp" value="{{d.companyId}}">{{d.company}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">所属部门*</label>
                <div class="col-sm-10">
                  <select class="form-control" name="department" ng-model="department" disabled>
                    <option value="">请选择</option>
                    <option ng-repeat="d in dept" value="{{d.departmentCode}}">{{d.departmentName}}</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm" ng-if="showArea">
                <label class="col-sm-2 control-label">项目区域*</label>
                <div class="col-sm-10">
                  <select name="area" class="form-control" ng-model="proArea" disabled>
                    <option value="">请选择</option>
                    <option ng-repeat="d in area" value="{{d.city}}">{{d.city}}</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showCus">
                <label class="col-sm-2 control-label">客户名称*</label>
                <div class="col-sm-10">
                  <input type="text" id="cus" name="cusName" value="{{cusName}}" disabled class="form-control">
                  <input type="hidden" value="" name="cusId" id="cusId" />
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目名称*</label>
                <div class="col-sm-10">
                  <input type="text" name="proName" id="proName" value="{{proName}}" disabled class="form-control"
                    placeholder="客户名称+产品名称">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">优先级*</label>
                <div class="col-sm-10">
                  <select name="clueLv" ng-model="clueLv" class="form-control" id="clueLv" disabled>
                    <option value="0">请选择</option>
                    <option value="3">高</option>
                    <option value="2">中</option>
                    <option value="1">低</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">紧急性</label>
                <div class="col-sm-10">
                  <select name="urgency" class="form-control" ng-model="urgency" id="urgency" disabled certus-required>
                    <option value="0">不紧急</option>
                    <option value="1">紧急</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">重要性</label>
                <div class="col-sm-10">
                  <select name="importance" class="form-control" ng-model="importance" id="importance" disabled
                    certus-required>
                    <option value="0">一般</option>
                    <option value="1">重要</option>
                    <option value="2">战略</option>
                  </select>
                </div>
              </div>

              <div class="form-group customerForm" ng-show="showCompare">
                <label class="col-sm-2 control-label">预计比拼类测试*</label>
                <div class="col-sm-10">
                  <select name="isCompare" ng-model="isCompare" class="form-control" disabled>
                    <option value="">请选择</option>
                    <option value="1">有</option>
                    <option value="0">无</option>
                  </select>
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showSign">
                <label class="col-sm-2 control-label">预签单日期*</label>
                <div class="col-sm-10">
                  <input id="datetime" name="divineSignDate" type="text" value="{{divineSignDate}}" disabled
                    class="form-control">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showHk">
                <label class="col-sm-2 control-label">预回款日期*</label>
                <div class="col-sm-10">
                  <input id="datetime-1" name="divineHkDate" type="text" value="{{divineHkDate}}" disabled
                    class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">线索价值点描述*</label>
                <div class="col-sm-10">
                  <textarea name="clueDesc" maxlength="120"  class="form-control" disabled>{{clueDesc}}</textarea>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showPolucy">
                <label class="col-sm-2 control-label">客户决策链和关键描述*</label>
                <div class="col-sm-10">
                  <textarea name="cusPolicy" maxlength="120"  class="form-control" disabled>{{cusPolicy}}</textarea>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showCompe">
                <label class="col-sm-2 control-label">竞争信息*</label>
                <div class="col-sm-10">
                  <textarea name="competitor" maxlength="120"  class="form-control" disabled>{{competitor}}</textarea>
                </div>
              </div>
              <!--<div class="form-group customerForm" ng-show="showFinish">-->
              <!--<label class="col-sm-2 control-label">预计完成时间</label>-->
              <!--<div class="col-sm-10">-->
              <!--<input id="datetime-3" name="divineFinishTime" type="text" disabled value="{{divineFinishTime | date:'yyyy-MM-dd'}}"-->
              <!--class="form-control">-->
              <!--</div>-->
              <!--</div>-->
              <div class="form-group customerForm" ng-show="showVersion">
                <label class="col-sm-2 control-label">预计版本发布时间*</label>
                <div class="col-sm-10">
                  <input id="datetime-4" name="divineVersionTime" ng-model="divineVersionTime" disabled type="text"
                    value="{{divineVersionTime | date:'yyyy-MM-dd'}}" class="form-control">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">项目周期*</label>
                <div class="col-sm-10">
                  <!-- <input id="datetime-5" name="startTime" type="text" value="" style="width: 48%;" class="form-control">
                  <input id="datetime-6" name="endTime" certus-required type="text"
                         style="width:48%;position:absolute;left: 50%;bottom: 0px;" value="" class="form-control"> -->
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" class="form-control" certus-required id="datetime-5" name="startTime"
                        placeholder="开始日期" disabled value="{{startTime}}">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" class="form-control" certus-required id="datetime-6" name="endTime"
                        placeholder="结束日期" disabled value="{{endTime}}">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm" id="pdLine" style="pointer-events:none;" ng-show="showPolucy">
                <label class="col-sm-2 control-label">产品线*</label>
                <div class="col-sm-10">
                  <!--start-->
                  <div ng-repeat="x in dd">

                    <div ng-repeat="d in x.deptList">
                      <div class="checkbox">
                        <label>
                          <input type="checkbox" value="{{d.departmentCode}}"> {{d.departmentName}}
                        </label>
                      </div>
                    </div>
                  </div>
                  <div class="checkbox">
                    <label><input type="checkbox" value="N"> 无</label>
                  </div>
                  <!--end-->
                </div>
              </div>



              <!--<div class="form-group customerForm">-->
              <!--<label class="col-sm-2 control-label">项目介绍</label>-->
              <!--<div class="col-sm-10">-->
              <!--<a class="update-icon" href="javascript:void(0)">附件下载</a>-->
              <!--</div>-->
              <!--</div>-->

            </div>
          </section>

          <section class="panel">
            <header class="panel-heading">
              线索阶段商务预测(只用于本阶段)
            </header>
            <div class="panel-body bio-graph-info">

              <div class="form-group customerForm" ng-if="showMoney">
                <label class="col-sm-2 control-label">销售额</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" name="divineMoney"
                    certus-required value="{{divineMoney}}" min="0" disabled class="form-control">
                  <input type="hidden" name="dmId" value="{{dmId}}">
                </div>
              </div>
              <input type="hidden" value="{{isCompare}}" name="isCompare" />
              <div class="form-group customerForm" ng-if="showBudget">
                <label class="col-sm-2 control-label">客户预算</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" name="cusBudget"
                    value="{{cusBudget}}" certus-required min="0" disabled class="form-control">
                  <input type="hidden" name="bumId" value="{{bumId}}">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm" ng-if="showCtMoney">
                <label class="col-sm-2 control-label">客户交际费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" name="divineContactMoney"
                    certus-required value="{{divineContactMoney}}" disabled min="0" class="form-control">
                  <input type="hidden" name="cmId" value="{{cmId}}">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showCtMoney">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="ctStartTime"
                        name="ctStartTime" value="{{ctStartTime}}" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="ctEndTime" name="ctEndTime"
                        value="{{ctEndTime}}" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showCtMoney">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dcMoneyDesc" value="{{dcMoneyDesc}}" disabled class="form-control">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm" ng-if="showBsMoney">
                <label class="col-sm-2 control-label">差旅费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" name="divineBusinessMoney"
                    certus-required disabled value="{{divineBusinessMoney}}" min="0" class="form-control">
                  <input type="hidden" name="bmId" value="{{bmId}}">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showBsMoney">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="bsStartTime"
                        name="bsStartTime" value="{{bsStartTime}}" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="bsEndTime" name="bsEndTime"
                        value="{{bsEndTime}}" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showBsMoney">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dbMoneyDesc" value="{{dbMoneyDesc}}" disabled class="form-control">
                </div>
              </div>
              <hr />
              <div class="form-group customerForm" ng-if="showPhMoney">
                <label class="col-sm-2 control-label">采购费用</label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)" onblur="clearNoNum(this)" name="divinePurchaseMoney"
                    certus-required disabled value="{{divinePurchaseMoney}}" min="0" class="form-control">
                  <input type="hidden" name="pmId" value="{{pmId}}">
                </div>
              </div>
              <div class="form-group customerForm" ng-show="showPhMoney">
                <label class="col-sm-2 control-label">使用周期*</label>
                <div class="col-sm-10">
                  <div class="row">
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="phStartTime"
                        name="phStartTime" value="{{phStartTime}}" placeholder="开始日期">
                    </div>
                    <div class="col-lg-6">
                      <input type="text" disabled class="form-control" certus-required id="phEndTime" name="phEndTime"
                        value="{{phEndTime}}" placeholder="结束日期">
                    </div>
                  </div>
                </div>
              </div>
              <div class="form-group customerForm" ng-if="showPhMoney">
                <label class="col-sm-2 control-label">费用说明</label>
                <div class="col-sm-10">
                  <input type="text" name="dpMoneyDesc" value="{{dpMoneyDesc}}" disabled class="form-control">
                </div>
              </div>
            </div>
          </section>
          <!-- <section class="panel hideother" style="display: none;">
            <header class="panel-heading">
              费用表单
            </header>
            <div class="panel-body">

              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">预算金额事由<span>*</span></label>
                <div class="col-sm-10">
                  <input type="text" onkeyup="clearNoNum(this)"  onblur="clearNoNum(this)" min="0" value="" class="form-control" disabled id="bugetMoney">
                </div>
              </div>
              <div class="form-group customerForm">
                <label class="col-sm-2 control-label">事由<span>*</span></label>
                <div class="col-sm-10">
                  <textarea class="form-control" id="comments" disabled></textarea>
                </div>
              </div>
            </div>
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hideother();">取消</a>
              <a href="javascript:void(0);" class="button-next  btn btn-info addMoney">提交</a>
            </p>

          </section> -->
          <section class="panel hideprobox">
            <header class="panel-heading add-heading">
              其他费用
            </header>
            <div class="panel-body bio-graph-info" style="pointer-events:none;">
              <div id="other1Container" class="dlshouwen-grid-container"></div>
            </div>
          </section>
          <section class="panel hideprobox">
            <header class="panel-heading add-heading">
              人天预估
            </header>
            <div class="panel-body bio-graph-info">
              <div id="rlContainer" class="dlshouwen-grid-container"></div>
              <div id="rlToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>
          <section class="panel hideprobox">
            <header class="panel-heading add-heading">
              涉及文件
            </header>
            <div class="panel-body bio-graph-info">
              <div id="wjContainer" class="dlshouwen-grid-container"></div>
              <div id="wjToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
            </div>
          </section>

          <section class="panel">
            <header class="panel-heading">
              其他说明
            </header>
            <div class="panel-body bio-graph-info">
              <div class="form-group customerForm">

                <textarea name="clueApplyDesc"  maxlength="120" class="form-control" disabled>{{clueApplyDesc}}</textarea>

              </div>
            </div>
          </section>
          <section class="panel">
            <div class="panel-body">
              <p class="default-buttons">
                <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
                <a href="javascript:void(0);" class="button-next  btn btn-info" onclick="window.history.back()">确认</a>
              </p>
            </div>
          </section>
          <!-- 流程跟踪V3.0效果 -->
          <section>
            <a href="javascript:void(0);" class="second" id="process" onclick="shaper();">
              流程跟踪
            </a>
          </section>
          <!-- 流程跟踪展示效果 -->
          <section class="hdaper">
            <div class="panel">
              <div class="panel-heading add-heading">
                流程跟踪
                <i class="add-icon icon-remove" href="javascript:$.pageslide.close()" onclick="hdaper();"></i>
              </div>
              <div class="panel-body panel-proce">
                <div class="proce-middle" id="nodeContiner"></div>
              </div>
            </div>
            <div class="paper-bg" onclick="clsbox();"></div>
          </section>

        </div>
      </div>
    </form>
  </section>
</section>
<!-- 当前页面js文件引入 -->
<script src="js/CertusFileUpload.js"></script>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script src="js/project/editClue.js"></script>
<script src="js/project/editClue2.js"></script>